package io.renren.modules.canteens.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.canteens.dto.FoodDTO;
import io.renren.modules.canteens.dto.SupplierFoodDTO;
import io.renren.modules.canteens.entity.SupplierFoodEntity;

import java.util.Map;

/**
 * 供应商_食材表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
public interface SupplierFoodService extends CrudService<SupplierFoodEntity, SupplierFoodDTO> {
    SupplierFoodDTO getSupplierFood(Long supplierId,Long foodId);

    PageData<SupplierFoodDTO> getName(Map<String, Object> params);

        }